package com.usian.day01.controller;

import com.usian.day01.fegin.Day02ServiceFegin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author baimugudu
 * @email 2415621370@qq.com
 * @date 2023/7/25 14:52
 */
@RestController
public class TestController {

    @Autowired(required = false)
    Day02ServiceFegin day02ServiceFegin;

    @RequestMapping("list")
    public List list(){
        List list = day02ServiceFegin.test1();
        return  list;
    }
}
